package com.ccys.db.dto.masterData;

import com.ccys.db.entity.TblDiagnosisList;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @program: WhiteCoat
 * @description: 分页查询诊断集合接收Dto
 * @author: ZhangJingCan
 * @create: 2023-12-12 17:51
 **/

@Data
@ApiModel("分页查询诊断集合接收Dto")
public class DiagnosisListPageQueryDto extends TblDiagnosisList {

    @ApiModelProperty(value = "名称",name = "name",example = "名称模糊搜索")
    private String name;

    @ApiModelProperty(value = "状态",name = "status",example = "状态:0-禁用，1-启用/查询所有传null")
    private Integer status;

    @ApiModelProperty(value = "开始日期(时间戳)",name = "startCreateOn")
    private Long startCreateOn;

    @ApiModelProperty(value = "结束日期(时间戳)",name = "endCreateOn")
    private Long endCreateOn;

    @ApiModelProperty(value = "排序字段", name = "orderByStr", example = "排序字段(默认传：t1.created_on descend),t1.name,t1.status,t2.user_fullname,t1.created_on")
    private String orderByStr;


}
